package com.yunwushanhe.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 友链(Link)表实体类
 *
 * @author 抬头看看天
 * @since 2023-08-05 21:43:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@TableName("ady_link")
@ApiModel(value = "Link对象",description = "友链")
public class Link implements Serializable {

    private static final long serialVersionUID = -58450942915837882L;

    @TableId
    private Long id;


    private String name;


    private String logo;


    private String description;

    @ApiModelProperty(value = "网站地址")
    private String address;

    @ApiModelProperty(value = "审核状态 (0代表审核通过，1代表审核未通过，2代表未审核)")
    private String status;

    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "删除标志（0代表未删除，1代表已删除）")
    private Integer delFlag;

}

